[package]
name = "bot_telegram"
version = "0.1.0"
authors = ["Orin Serimon <orin220444@protonmail.com>"]
edition = "2021"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
# dotenv = "0.15.0"
# rand = "0.8"
log = "0.4"
pretty_env_logger = "0.4"
tokio-stream = {workspace = true}
# typed-builder = "0.12"
anyhow = {workspace = true}
# futures = "*"
urlexpand = {workspace = true}
serde = {workspace = true}
url = {workspace = true}
uuid = {workspace = true}
time = {workspace = true}
reqwest = {workspace = true}
tokio = {workspace = true, features = ["macros"]}
[dependencies.parser]
path = "../parser"
[dependencies.db]
path = "../db"
features = ["telegram"]



[dependencies.teloxide]
version = "0.12"
default-features = false
features = ["macros", "throttle", "ctrlc_handler"]



[profile.release]
lto = "thin"
strip = true
# codegen-units = 1
opt-level = "s"
